package com.za.wbw.service.shop.impl;

import java.util.List;
import java.util.Map;

import com.za.wbw.dao.shop.OrderDao;
import com.za.wbw.model.shop.OrderInfo;
import com.za.wbw.service.shop.OrderService;

public class OrderServiceImpl implements OrderService {
	public OrderDao orderDao;
	
	// 查询订单分页
	public List<OrderInfo> queryOrderPage(Map<String,Object> pars) throws Exception{
		return getOrderDao().queryOrderPage(pars);
	}
	// 查询订单数量
	public int queryOrderCount(Map<String,Object> pars) throws Exception{
		return getOrderDao().queryOrderCount(pars);
	}
	// --------------------------------------
	public OrderDao getOrderDao() {
		return orderDao;
	}

	public void setOrderDao(OrderDao orderDao) {
		this.orderDao = orderDao;
	}
}
